#include <iostream>
//#include "visitor.h"
#include "client.h"
using namespace std;


int main() {
//    CPU* cpu = new CPU("Intel CPU");
//    VideoCard* videocard = new VideoCard("XXX video card");
//    MainBoard* mainboard = new MainBoard("HUAWEI mainboard");
//    Computer* myComputer = new Computer(cpu, videocard, mainboard);

//    CircuitDetector* Dan = new CircuitDetector("CircuitDetector Dan");
//    FunctionDetector* Tom = new FunctionDetector("FunctionDetector Tom");

//    std::cout << "\nStep 1: Dan is checking computer's circuits." << std::endl;
//    myComputer->Accept(Dan);
//    std::cout << "\nStep 2: Tom is checking computer's functions." << std::endl;
//    myComputer->Accept(Tom);
    Client *client = new Client();
    client->run();
    return 0;
}
